package cn.huiyunche.base.service.interfaces;

import cn.huiyunche.base.service.model.CJourney;

import java.util.List;

public interface UserJourneyService {

    /**
     * @return
     * @Title: selectTodayJourneyFromAllOnlineUsers
     * @Description: 查询所有当天报行程的在线司机
     * @return: List<UserJourney>
     */
    List<CJourney> selectTodayJourneyFromAllOnlineUsers();

    /**
     * @param userId    用户id
     * @param beginTime 时间开始
     * @param endTime   时间结束
     * @Title: selectAtLastJourney
     * @Description: 查询用户时间段内最后行程信息
     * @return: void
     */
    CJourney selectAtLastJourney(Long userId, String beginTime, String endTime);
}
